#pragma once

#include "Includes.h"

#include "BluetoothRadio.h"
#include "SerialConnection.h"
#include "ConnectionBridge.h"
#include "IConnectionEventReceiver.h"


class Rvm1Bridge : public IConnectionEventReceiver<BluetoothConnection> {
public:
	Rvm1Bridge();

	void onCreate();

	//IConnectionEventReceiver
	void onConnect(BluetoothConnection con)    override;
	void onDisconnect(BluetoothConnection con) override;

private:
	BluetoothConnection _conb;
	SerialConnection _cons;
	ConnectionBridge _bridge;
};